﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage/AdminSubMasterPage.master" AutoEventWireup="true" CodeFile="Fin002b.aspx.cs" Inherits="Admin_Fin_Fin002b" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Service_table_tow">
        <tr>
            <td colspan="4" class="xin_y1 caption" align="center">
                凭证管理 
            </td>
        </tr>
       
        <tr>
            <td class="xin_y2">
                凭证年份
            </td>
            <td>
                <asp:DropDownList runat="server" ID="drpYear" Enabled="false">
                </asp:DropDownList>
            </td>
            <td class="xin_y2">
                凭证类型:
            </td>
            <td>
                <yncWebDDL:DrpCodeTable ID="drpDocType" Enabled="false"  runat="server" Category="CTE002" ShowSelectedItem="false">
                </yncWebDDL:DrpCodeTable>
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
                存储地点:
            </td>
            <td>
                <yncWebDDL:DrpThirdUnit ID="drpLocation" Enabled="false"  runat="server" ShowSelectedItem="false">
                </yncWebDDL:DrpThirdUnit>
            </td>
            <td class="xin_y2">
                公司:
            </td>
            <td>
                <yncWebDDL:DrpCompany ID="drpCompany" Enabled="false"  runat="server" ShowSelectedItem="false">
                </yncWebDDL:DrpCompany>
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <yncWeb:PagnationGrid PageSize="20" ID="pageGrid" runat="server" OnOnPageIndexChange="PageChanged">
                    <HeaderTemplate>
                        <table width="100%" cellspacing="0" cellpadding="0" class="pagnationtable" align="left">
                            <thead>
                                <tr>
                                    <th width="40px">序号
                                    </th>
                                    <th width="130px">
                                        Documents No
                                    </th>
                                    <th width="120px">
                                        Reference
                                    </th>
                                    <th>
                                        Reference key
                                    </th>
                                    <th width="120px">
                                        Created by
                                    </th>
                                    <th width="120px">
                                        Created date
                                    </th>
                                </tr>
                            </thead>
                            <tbody>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td>
                                 <asp:CheckBox ID="chk_sel" class="sel_class" runat="server" Text="<%# Container.ItemIndex +1 %>" />
                                <asp:Label ID="lbReceiptID" runat="server" Visible="false" Text = "<%# Eval(FinReceiptMetadata.ColumnNames.ReceiptID) %>"></asp:Label>
                            </td>
                            <td>
                                <%# Eval(FinReceiptMetadata.ColumnNames.DocumentsNo)%>
                            </td>
                            <td>
                                <%# Eval(FinReceiptMetadata.ColumnNames.Reference)%>
                            </td>
                            <td>
                                <%# Eval(FinReceiptMetadata.ColumnNames.ReferenceKey)%>
                            </td>
                            <td>
                                <%# Eval(FinReceiptMetadata.ColumnNames.CreatedBy)%>
                            </td>
                            <td>
                                <%# Eval(FinReceiptMetadata.ColumnNames.CreatedDttm).FormatDate(ConstantValue.DateFormat)%>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </tbody> </table>
                    </FooterTemplate>
                </yncWeb:PagnationGrid>
            </td>
        </tr>
        <tr>
            <td colspan="4" class="xin_y2" align="right">
                <asp:Button ID="btnRemove" runat="server" Text="移除" OnClientClick="return confirm('您确定要移除选中的凭证吗?');" OnClick="btnRemove_Click" />
                <input type="button" value="关闭" onclick="javascript:window.top.CloseDialog(false);" />
            </td>
        </tr>
        <tr>
            <td colspan="4" align="center" height="24px">
                <asp:Label ID="lbMessage" runat="server" ForeColor="Red" Text="&nbsp;" Font-Bold="true" />
            </td>
        </tr>
    </table>
</asp:Content>

